{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang title:cloudattach}</h3>
	</div>
	<div class="alert alert-info mt10">
		<span class="label label-info">{lang info:admin}</span>{lang description:cloudattach}
	</div>
	
	<div class="setform">
		<form class="pzform" action="{url admin/load?pm=cloudattach&act=setting&evt=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang open:cloudattach}:</label> 
				<div class="formcontrol">
					<input type="radio" name="open" value="1" {if $setting['open']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="open" value="0" {if !$setting['open']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang open:cloudattach}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang provider:cloudattach}:</label> 
				<div class="formcontrol">
					{loop $provider $prov}
					<input type="radio" name="provider" value="{$prov}" {if $setting['provider']==$prov}checked{/if}>{echo lang($prov,'cloudattach')}</input>
					{/loop}
				</div>
				<span class="formhelp">{lang provider:cloudattach}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang backup:cloudattach}:</label> 
				<div class="formcontrol">
					<input type="radio" name="backup" value="1" {if $setting['backup']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="backup" value="0" {if !$setting['backup']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang backup:cloudattach}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}